package com.damai.mvc.view.imple;

import java.io.IOException;

import javax.servlet.http.HttpServletResponse;

import com.damai.mvc.view.View;

public class ContentView implements View {
	private String content;
	public ContentView(String content){
		this.content = content;
	}

	@Override
	public void renderTo(HttpServletResponse response) throws IOException {
		response.getWriter().print(content);
	}

}
